package com.tacademy.android.lbs.friend.model;

import java.util.Date;

public class UserLocationOutput {	

	private Date updateDate;
	private double latitude;	
	private double longitude;	
	private String userId;
	
	public UserLocationOutput(UserLocation userLocation) {
		if (userLocation != null) {
			this.updateDate = userLocation.getUpdateDate();
			this.latitude = userLocation.getLatitude();
			this.longitude = userLocation.getLongitude();
			this.userId = userLocation.getUserId();
		}
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}